package com.jemmyee.pizza.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;


/**
 * 
 * @author kong 
 *
 */

@Entity
@Table(name = "surrogate_1")
public class SurrogateCCB implements java.io.Serializable{
	private Integer surrogateId;
	private String bankNo;
	private String cardNo;
	private String payPerson;
	private Double payMoney;
	private String payType;
	private String payState;
	private String importTime;
	
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "surrogate_id", unique = true, nullable = false)
	public Integer getSurrogateId() {
		return surrogateId;
	}
	public void setSurrogateId(Integer surrogateId) {
		this.surrogateId = surrogateId;
	}
	
	@Column(name="bank_no", length=10)
	public String getBankNo() {
		return bankNo;
	}
	public void setBankNo(String bankNo) {
		this.bankNo = bankNo;
	}
	
	@Column(name="card_no",length=50)
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	@Column(name="pay_person", length=50)
	public String getPayPerson() {
		return payPerson;
	}
	public void setPayPerson(String payPerson) {
		this.payPerson = payPerson;
	}
	
	@Column(name = "pay_money")
	public Double getPayMoney() {
		return payMoney;
	}
	public void setPayMoney(Double payMoney) {
		this.payMoney = payMoney;
	}
	
	@Column(name="pay_type", length=20)
	public String getPayType() {
		return payType;
	}
	public void setPayType(String payType) {
		this.payType = payType;
	}
	
	@Column(name="pay_state",length=20)
	public String getPayState() {
		return payState;
	}
	public void setPayState(String payState) {
		this.payState = payState;
	}
	
	@Column(name="import_time",length=20)
	public String getImportTime() {
		return importTime;
	}
	public void setImportTime(String importTime) {
		this.importTime = importTime;
	}
	
	
}
